package com.example.demo.mapper;

import com.example.demo.pojo.Dto.GoodsDto;
import com.example.demo.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface GoodsMapper {
    public List<GoodsDto> selectGoodsByParam(@Param("pro") String pro);
    public Goods selectGoodsById(@Param("id")Integer id);
    public List<GoodsDto> selectByName(@Param("name")String name);
    public List<GoodsDto> selectClassify(int id);
}
